<template>
  <div>
    <View :msg="msg" />
    <MyButton @click="increment" :setp="20" />
  </div>
</template>

<script setup>
import View from './View.vue'
import MyButton from './Button.vue'
import { ref } from 'vue'
const msg = ref(100)
const increment = (setp) => {
  msg.value += setp
}
</script>

<style lang="scss" scoped></style>
